<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Banner extends Model
{
    protected $table = "banner";
    protected $guarded = [];

    public function getImageAttribute()
    {
        return Wechart::PATH_IMAGE.'uploads/'.$this->attributes['image'];
    }
}
